import request from '@/utils/request'

export function getCouponList(query) {
  return request({
       url: '/car/coupon/getCouponList',
       method: 'get',
       params: query
  })
}
export function addConpon(query) {
  return request({
       url: '/car/coupon/addConPon',
       method: 'post',
       data: query
  })
}

export function deleteById(query) {
  return request({
       url: '/car/coupon/delete/'+query,
       method: 'post',
  })
}
